package com.qf.canstants;


/**
 * 常量类
 */
public class Constants {
    // 生成JWT tokne使用的 密钥（salt）
    public static final String SECRET = "qfsyjava2203666";

    // 接口成功响应的状态码
    public static final Integer SUCCESS_CODE = 10000;
    public static final String SUCCESS_MSG = "OK";

    // 接口失败响应状态码
    public static final Integer ERROR_CODE = -10000;
    public static final String ERROR_MSG = "ERROR";


    public static final String JWT_CACHE_TOKEN_KEY = "token";
    public static final Object REDIS_COUPON_KEY = "coupon";
    public static final String EXCHANGE_NAME = "grabTickets";
    public static final String QUEUEES = "queueES";
    public static final String QUEUESQL = "queueSQL";
}
